package com.xiaomei.manager.dao;

import java.util.List;

import com.xiaomei.manager.model.AllowanceTicket;
import com.xiaomei.manager.web.page.Page;


public interface AllowanceTicketMapper extends BaseMapper {
	
	/**
	 * 根据用户编号查询代金券(分页)
	 * @param page
	 * @return
	 */
	List<AllowanceTicket> selectByParamsForPage(Page<AllowanceTicket> page);
	
	/**
	 * 根据版本号修改
	 * @param ticket
	 * @return
	 */
	int updateByVersionSelective(AllowanceTicket ticket);
}